
<div id="navColumnOneWrapper" style="width: 240px">

                    <div class="leftBoxContainer" id="categories" style="width: 240px">
                        <div class="leftBoxContainerInner" style="padding-bottom: 10px;">
                            <h3 class="leftBoxHeading" id="categoriesHeading">Categories</h3>

                            <div id="categoriesContent" class="sideBoxContent" style="margin-top: 15px;">

                                 <? foreach ($this->menu as $key=>$menu): ?>

                                <div class="color<?=$menu['color']?>">
<!--                                         --><?// if ($key<>2):?>
                            <a <? if($this->current==$menu['id']):?>id="selected" style="color: yellow;" <? endif; ?>  href="<?= $this->url(array('id' => $menu['id']), 'pages') ?>" class="catinfo4" >
<!--                                         --><?//else:?>
<!--                                <a href="javascript: void(0)">-->
<!--                                         --><?//endif;?>
                                <?=$menu['title']?> </a>


                                </div>

                                <?endforeach;?>

                            </div>
                        </div>

                    </div>
                    <!-- end left menu-->

                </div>

    <script type="text/javascript">
        var mycolors = [0, '#8B51A5', '#22A1A3', '#6CC044', '#349177', '#D1586F', '#B4D44B', '#863F98', '#2EBFC1'];
        $(document).ready(function(){
            $('#categoriesContent div').mouseover(function(){
//                $(this).css('border', '2px solid white').css('background-color', 'yellow');
                $(this).children('a').css('color', '#4013AF');
            });
            $('#categoriesContent div').mouseout(function(){
//                $(this).css('border', 'none').css('background-color', 'yellow');
                $(this).children('a').css('color', '#FFF');
            });
        })
    </script>
